﻿using HKEA.CMS.Core.Utility;

namespace HKEA.CMS.Core.Models
{
    public class ExtensionModel
    {
    }

    public class Ext_MediaRoom:tblMediaRoom
    {
        private int mediaRoomRelatedUID;
        private string category;

        private int _relatedUID;

        private int _deleted;

        private int? _is_Publish;
        public string SourceType { get; set; }
        public int MediaRoomRelatedUID
        {
            get { return mediaRoomRelatedUID; }
            set { mediaRoomRelatedUID = value; }
        }
        public string Category
        {
            get { return category; }
            set { category = value; }
        }

        public int RelatedUID
        {
            get { return _relatedUID; }
            set { _relatedUID = value; }
        }

        public int Deleted
        { 
            get { return _deleted; }
            set { _deleted = value; }
        }

        public int? Is_Publish
        {
            get;
            set;
        }
    }


    public class Ext_Cust_ProdCat
    {
        private int cust_ProdCatUID;
        private int customerUID;
        private int productCatUID;
        private int productSubCateUID;
        private int deleted;

        public int Cust_ProdCatUID
        {
            get { return cust_ProdCatUID; }
            set { cust_ProdCatUID = value; }
        }
        public int CustomerUID
        {
            get { return customerUID; }
            set { customerUID = value; }
        }
        public int ProductCatUID
        {
            get { return productCatUID; }
            set { productCatUID = value; }
        }
        public int ProductSubCateUID
        {
            get { return productSubCateUID; }
            set { productSubCateUID = value; }
        }
        public int Deleted
        {
            get { return deleted; }
            set { deleted = value; }
        }
    }

    #region search的搜索条件的实例
    public class Search_Cust_Info
    {
        private string customerName = string.Empty;
        private string customerID = string.Empty;
        private string customerType = string.Empty;
        private string memberShipSince = string.Empty;
        private string memberShipStatus = string.Empty;
        private string brandName = string.Empty;
        private string customerIntroduction = string.Empty;
        private string noOfEmployee = string.Empty;
        private string yearEstablished = string.Empty;
        private string br = string.Empty;
        private string hkIDPassportNo = string.Empty;
        private string gc = string.Empty;
        private string vip = string.Empty;
        private string hqLocatedInHk = string.Empty;
        private string address = string.Empty;
        private string country = string.Empty;
        private string continent = string.Empty;
        private string position = string.Empty;
        private string email = string.Empty;
        private string emailUnsubscribe = string.Empty;
        private string fax = string.Empty;
        private string faxUnsubscribe = string.Empty;
        private string fax_IsDNC = string.Empty;
        private string tel = string.Empty;
        private string tel_IsSubscribe = string.Empty;
        private string tel_IsDNC = string.Empty;
        private string contactPersonName = string.Empty;
        private string salutation = string.Empty;
        private string committeeType = string.Empty;
        private string committeePosition = string.Empty;
        private string yearTerm = string.Empty;
        private string attribute = string.Empty;
        private string jobNaturexdcc = string.Empty;
        private string businessNatur = string.Empty;
        private string productCategory = string.Empty;
        private string productSpecifictions = string.Empty;
        private string mainMarket = string.Empty;
        private string branchAddress= string.Empty;
        private string branchName = string.Empty;
        private int busNum = 0;
        private string busSelVal = string.Empty;
        private int proNum = 0;
        private string proSelVal = string.Empty;
        private int marketNum = 0;
        private string marketSelVal = string.Empty;


        public string CustomerName
        {
            get
            {
                return customerName;
            }
            set
            {
                customerName = value;
            }
        }
        public string CustomerID
        {
            get
            {
                return customerID;
            }
            set
            {
                customerID = value;
            }
        }
        public string CustomerType
        {
            get
            {
                return customerType;
            }
            set
            {
                customerType = value;
            }
        }
        public string MemberShipSince
        {
            get
            {
                return memberShipSince;
            }
            set
            {
                memberShipSince = value;
            }
        }
        public string MemberShipStatus
        {
            get
            {
                return memberShipStatus;
            }
            set
            {
                memberShipStatus = value;
            }
        }
        public string BrandName
        {
            get
            {
                return brandName;
            }
            set
            {
                brandName = value;
            }
        }
        public string CustomerIntroduction
        {
            get
            {
                return customerIntroduction;
            }
            set
            {
                customerIntroduction = value;
            }
        }
        public string NoOfEmployee
        {
            get
            {
                return noOfEmployee;
            }
            set
            {
                noOfEmployee = value;
            }
        }
        public string YearEstablished
        {
            get
            {
                return yearEstablished;
            }
            set
            {
                yearEstablished = value;
            }
        }
        public string BR
        {
            get
            {
                return br;
            }
            set
            {
                br = value;
            }
        }
        public string HKIDPassportNo
        {
            get
            {
                return hkIDPassportNo;
            }
            set
            {
                hkIDPassportNo = value;
            }
        }
        public string GC
        {
            get
            {
                return gc;
            }
            set
            {
                gc = value;
            }
        }
        public string VIP
        {
            get
            {
                return vip;
            }
            set
            {
                vip = value;
            }
        }
        public string HQLocatedInHk
        {
            get
            {
                return hqLocatedInHk;
            }
            set
            {
                hqLocatedInHk = value;
            }
        }
        public string Address
        {
            get
            {
                return address;
            }
            set
            {
                address = value;
            }
        }
        public string Country
        {
            get
            {
                return country;
            }
            set
            {
                country = value;
            }
        }
        public string Continent
        {
            get
            {
                return continent;
            }
            set
            {
                continent = value;
            }
        }
        public string Position
        {
            get
            {
                return position;
            }
            set
            {
                position = value;
            }
        }
        public string Email
        {
            get
            {
                return email;
            }
            set
            {
                email = value;
            }
        }
        public string EmailUnsubscribe
        {
            get
            {
                return emailUnsubscribe;
            }
            set
            {
                emailUnsubscribe = value;
            }
        }
        public string Fax
        {
            get
            {
                return fax;
            }
            set
            {
                fax = value;
            }
        }
        public string FaxUnsubscribe
        {
            get
            {
                return faxUnsubscribe;
            }
            set
            {
                faxUnsubscribe = value;
            }
        }
        public string Fax_IsDNC
        {
            get
            {
                return fax_IsDNC;
            }
            set
            {
                fax_IsDNC = value;
            }
        }
        public string Tel
        {
            get
            {
                return tel;
            }
            set
            {
                tel = value;
            }
        }
        public string Tel_IsSubscribe
        {
            get
            {
                return tel_IsSubscribe;
            }
            set
            {
                tel_IsSubscribe = value;
            }
        }
        public string Tel_IsDNC
        {
            get
            {
                return tel_IsDNC;
            }
            set
            {
                tel_IsDNC = value;
            }
        }
        public string ContactPersonName
        {
            get
            {
                return contactPersonName;
            }
            set
            {
                contactPersonName = value;
            }
        }
        public string Salutation
        {
            get
            {
                return salutation;
            }
            set
            {
                salutation = value;
            }
        }
        public string CommitteeType
        {
            get
            {
                return committeeType;
            }
            set
            {
                committeeType = value;
            }
        }
        public string CommitteePosition
        {
            get
            {
                return committeePosition;
            }
            set
            {
                committeePosition = value;
            }
        }
        public string YearTerm
        {
            get
            {
                return yearTerm;
            }
            set
            {
                yearTerm = value;
            }
        }
        public string Attribute
        {
            get
            {
                return attribute;
            }
            set
            {
                attribute = value;
            }
        }
        public string JobNaturexdcc
        {
            get { return jobNaturexdcc; }
            set { jobNaturexdcc = value; }
        }
        public string BusinessNatur
        {
            get { return businessNatur; }
            set
            {
                businessNatur = value;
            }
        }
        public string ProductCategory
        {
            get
            {
                return productCategory;
            }
            set
            {
                productCategory = value;
            }
        }
        public string ProductSpecifictions
        {
            get
            {
                return productSpecifictions;
            }
            set
            {
                productSpecifictions = value;
            }
        }
        public string MainMarket
        {
            get
            {
                return mainMarket;
            }
            set
            {
                mainMarket = value;
            }
        }
        public string BranchAddress
        {
            get
            {
                return branchAddress;
            }
            set
            {
                branchAddress = value;
            }
        }
        public string BranchName
        {
            get
            {
                return branchName;
            }
            set
            {
                branchName = value;
            }
        }
        public int BusNum
        {
            get { return busNum; }
            set { busNum = value; }
        }
        public string BusSelVal
        {
            get { return busSelVal; }
            set { busSelVal = value; }
        }
        public int ProNum
        {
            get { return proNum; }
            set { proNum = value; }
        }
        public string ProSelVal
        {
            get { return proSelVal; }
            set { proSelVal = value; }
        }
        public int MarketNum
        {
            get { return marketNum; }
            set { marketNum = value; }
        }
        public string MarketSelVal
        {
            get { return marketSelVal; }
            set { marketSelVal = value; }
        }
    }
    #endregion

    public class IntTemp
    {        
        private int productCatUID;
        private int productSubCateUID;
       
        public int ProductCatUID
        {
            get { return productCatUID; }
            set { productCatUID = value; }
        }
        public int ProductSubCateUID
        {
            get { return productSubCateUID; }
            set { productSubCateUID = value; }
        }
    }

    #region 搜索结果的实体类,考虑到这个类会经常用到,所以建一个实体方便操作
    public class Search_Result
    {
        private string customerUID = string.Empty;
        private string customerID=string.Empty;
        private string custType_Chi=string.Empty;
        private string name_Eng=string.Empty;
        private string name_Chi=string.Empty;
        private string isMember=string.Empty;
        private string isGCMember=string.Empty;
        private string isVIP=string.Empty;
        private string branchName_Chi=string.Empty;
        private string firstName_Chi=string.Empty;
        private string lastName_Chi=string.Empty;
        private string flat_Bldg_Chi=string.Empty;
        private string industry_Eng=string.Empty;
        private string christianName=string.Empty;
        private string firstName_Eng=string.Empty;
        private string lastName_Eng=string.Empty;
        private string position=string.Empty;
        private string flat_Bldg_Eng=string.Empty;
        private string street_Rd_Eng=string.Empty;
        private string area_Eng=string.Empty;
        private string district_Eng=string.Empty;
        private string city_Eng=string.Empty;
        private string country_Eng=string.Empty;
        private string tel1=string.Empty;
        private string tel2=string.Empty;
        private string fax1=string.Empty;
        private string fax2=string.Empty;
        private string email1=string.Empty;

        public string CustomerUID { get { return customerUID; } set { customerUID = value; } }
        public string CustomerID { get { return customerID; } set { customerID = value; } }
        public string CustType_Chi { get { return custType_Chi; } set { custType_Chi = value; } }
        public string Name_Eng { get { return name_Eng; } set { name_Eng = value; } }
        public string Name_Chi { get { return name_Chi; } set { name_Chi = value; } }
        public string IsMember { get { return Common.ReturnBoolValue(isMember); } set { isMember = value; } }
        public string IsGCMember { get { return Common.ReturnBoolValue(isGCMember); } set { isGCMember = value; } }
        public string IsVIP { get { return Common.ReturnBoolValue(isVIP); } set { isVIP = value; } }
        public string BranchName_Chi { get { return branchName_Chi; } set { branchName_Chi = value; } }
        public string FirstName_Chi { get { return firstName_Chi; } set { firstName_Chi = value; } }
        public string LastName_Chi { get { return lastName_Chi; } set { lastName_Chi = value; } }
        public string Flat_Bldg_Chi { get { return flat_Bldg_Chi; } set { flat_Bldg_Chi = value; } }
        public string Industry_Eng { get { return Common.ReturnProductCard(industry_Eng); } set { industry_Eng = value; } }
        public string ChristianName { get { return christianName; } set { christianName = value; } }
        public string FirstName_Eng { get { return firstName_Eng; } set { firstName_Eng = value; } }
        public string LastName_Eng { get { return lastName_Eng; } set { lastName_Eng = value; } }
        public string Position { get { return position; } set { position = value; } }
        public string Flat_Bldg_Eng { get { return flat_Bldg_Eng; } set { flat_Bldg_Eng = value; } }
        public string Street_Rd_Eng { get { return street_Rd_Eng; } set { street_Rd_Eng = value; } }
        public string Area_Eng { get { return area_Eng; } set { area_Eng = value; } }
        public string District_Eng { get { return district_Eng; } set { district_Eng = value; } }
        public string City_Eng { get { return city_Eng; } set { city_Eng = value; } }
        public string Country_Eng { get { return country_Eng; } set { country_Eng = value; } }
        public string Tel1 { get { return tel1; } set { tel1 = value; } }
        public string Tel2 { get { return tel2; } set { tel2 = value; } }
        public string Fax1 { get { return fax1; } set { fax1 = value; } }
        public string Fax2 { get { return fax2; } set { fax2 = value; } }
        public string Email1 { get { return email1; } set { email1 = value; } }
    }
    #endregion
#region
    public class NewListResule {
        private string title=string.Empty;
        public string Title {
            get { return title; }
            set { title = value; }
        }
    }
#endregion
}
